Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: Command parsing hangs under unit test #363

Merged
merged 1 commit into from
Feb 7, 2022

Conversation

MonochromeChameleon
Copy link
Contributor

I believe that this addresses issue #330

Under test, the process.stdin.isTTY property isn't properly inherited (possibly related to this: https://stackoverflow.com/a/68260765) meaning that rather than bailing out immediately, the readStdin function hangs indefinitely waiting for input to be provided.

@salesforce-cla
Copy link

salesforce-cla bot commented Feb 7, 2022

Thanks for the contribution! Before we can merge this, we need @MonochromeChameleon to sign the Salesforce.com Contributor License Agreement.

@mdonnalley mdonnalley merged commit cb88427 into oclif:main Feb 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants